package com.dt76.smallloanbackenduser.hystrix.xiaohao;

import com.dt76.smallloanbackenduser.pojo.xiaohao.ApprovalLoan;
import com.dt76.smallloanbackenduser.pojo.xiaohao.BorrowOrderQuery;
import com.dt76.smallloanbackenduser.remote.xiaohao.ApprovalLoanRemote;
import com.dt76.smallloanbackenduser.utils.Page;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@Component
public class ApprovalLoanHystrix implements ApprovalLoanRemote {
    @Override
    public int addApproveLoan(@RequestBody ApprovalLoan approvalLoan) {
        return 0;
    }

    @Override
    public Page qryAllLoanOrder(@RequestParam("currentPageNo") Integer currentPageNo, @RequestBody BorrowOrderQuery borrowOrderQuery) {
        return null;
    }

    @Override
    public Page qryAllHanderOrder(@RequestParam("currentPageNo")Integer currentPageNo,@RequestBody BorrowOrderQuery borrowOrderQuery) {
        return null;
    }

}
